# Add more folders to ship with the application, here
qml_files.source = qml/ereader/*.*
qml_files.target = qml
image_files.source = images
#image_files.target = images
i18n_files.source = qml/ereader/i18n/*.qm
i18n_files.target = qml/i18n
DEPLOYMENTFOLDERS = qml_files image_files i18n_files

QT += sql declarative

# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

symbian:TARGET.UID3 = 0xE30E3101

# Smart Installer package's UID
# This UID is from the protected range and therefore the package will
# fail to install if self-signed. By default qmake uses the unprotected
# range value if unprotected UID is defined for the application and
# 0x2002CCCF value if protected UID is given to the application
#symbian:DEPLOYMENT.installer_header = 0x2002CCCF

# Allow network access on Symbian
symbian:TARGET.CAPABILITY += NetworkServices

# If your application uses the Qt Mobility libraries, uncomment the following
# lines and add the respective components to the MOBILITY variable.
CONFIG += mobility qmsystem2
MOBILITY += gallery systeminfo

# Add dependency to symbian components
# CONFIG += qtquickcomponents

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
    rengine.cpp \
    rfilemodel.cpp \
    rrecentfilemodel.cpp \
    rbookmark.cpp \
    rumdfilemodel.cpp \
    rtxtfilemodel.cpp

# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
qtcAddDeployment()

OTHER_FILES += \
    qml/ereader/Viewer.js \
    qml/ereader/constants.js \
    qml/ereader/ViewerListView.qml \
    qml/ereader/Viewer.qml \
    qml/ereader/Thumbnail.qml \
    qml/ereader/TextEditDialog.qml \
    qml/ereader/SettingViewTextRow.qml \
    qml/ereader/SettingViewColorRow.qml \
    qml/ereader/SettingViewBoolRow.qml \
    qml/ereader/SettingView.qml \
    qml/ereader/RValueSelectionDialog.qml \
    qml/ereader/RPage.qml \
    qml/ereader/RListDelegate.qml \
    qml/ereader/Progress.qml \
    qml/ereader/MostRecentView.qml \
    qml/ereader/MainPage.qml \
    qml/ereader/main.qml \
    qml/ereader/Help.qml \
    qml/ereader/FontSelectionDialog.qml \
    qml/ereader/FileListView.qml \
    qml/ereader/ColorSelectionDialog.qml \
    qml/ereader/CodecSelectionDialog.qml \
    qml/ereader/BookmarkView.qml \
    qml/ereader/About.qml \
    qml/ereader/CodecSelectionView.qml \
    qml/ereader/ChapterView.qml \
    qml/ereader/RProgressBar.qml \
    qml/ereader/Common.js

HEADERS += \
    rengine.h \
    rfilemodel.h \
    rconstdifinition.h \
    rrecentfilemodel.h \
    rfileinfo.h \
    rbookmark.h \
    rumdfilemodel.h \
    rtxtfilemodel.h

TRANSLATIONS += ereader_cn.ts

RESOURCES += \
    ereader.qrc

unix:!macx:!symbian: LIBS += -L$$OUT_PWD/../enca/ -lenca

INCLUDEPATH += $$PWD/../enca
DEPENDPATH += $$PWD/../enca

unix:!macx:!symbian: PRE_TARGETDEPS += $$OUT_PWD/../enca/libenca.a








